package com.cyt.work.association.dao;

import com.cyt.base.dao.BaseDao;
import com.cyt.work.association.model.po.WxAssociationSign;
import com.cyt.work.association.model.vo.WxAssociationNewDetailVoC;
import com.cyt.work.association.model.vo.WxAssociationSignVo;
import com.cyt.work.association.model.vo.WxAssociationSignVoC;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 社团招新管理-社团报名Dao层接口类
 *
 * @author ding xu
 * @date 2019-9-17
 */
@Repository
public interface WxAssociationSignDao extends BaseDao<WxAssociationSign> {

    /**
     * list查询(已报名名单)
     *
     * @param wxAssociationSignVo 参数接受对象
     * @return List<WxAssociationNewStuVo>
     * @author han jun
     * @date 2019-9-3 16:43:32
     */
    List<WxAssociationSignVo> selectVoHasSignList(WxAssociationSignVo wxAssociationSignVo);

    int insertAssSign(WxAssociationSignVo wxAssociationSignVo);

    List<WxAssociationSignVoC> selectHasSignVoList(@Param("associationDetailId") String associationDetailId);

    List<WxAssociationNewDetailVoC> selectDetailVoByUserList(@Param("userId") String userId);
}